<!DOCTYPE html>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, shrink-to-fit=no">
    <meta name="referrer" content="origin">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="keywords" content="liujit.com"/>
    <meta name="description" content="刘军的个人博客"/>

    <title>分类</title>

    <div th:replace="~{common/commonJs :: topSource}"></div>
    <link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/gh/liujun0128/blog@master/static/css/page.css">
</head>
<body>
<div th:replace="common/navTool :: navTools"></div>

<a id="cover"></a>
<div id="header">
    <div class="header">
        <div class="vertical">
            <div class="inner">
                <h1 class="header-subtitle">分类</h1>
                <div class="header-subinfo">
                    <p class="article-info-text Chinese"></p>
                    <p class="article-info-text English"></p>
                </div>
            </div>
        </div>
        <canvas id="articleHeaderCanvas"></canvas>
    </div>
</div>
<div id="container">
    <div id="content">
        <div class="categories">
            <div class="categories-title" th:text="'目前共 '+${category.size()}+' 个分类'">
            </div>
            <div class="categories-content">
                <ul class="category-list">
                    <li class="category-list-item" th:each="item : ${category}">
                        <a class="category-list-link" th:href="'/blog/category/'+${item.id}" th:text="${item.name}"></a>
                        <span class="category-list-count" th:text="${item.articleCount}">0</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div id="footer"></div>

<div th:replace="common/menu :: menu"></div>

<script th:replace="~{common/commonJs :: config}"></script>
</body>
</html>